Inheritance diagram for XFcBtClientWin:
Public Member Functions | |
virtual XFCIMPORT | ~XFcBtClientWin () |
Virtual destructor. | |
XFCIMPORT INT | openClient () |
Opens client connection to address given by create. Connection open is a asynchronous. | |
XFCIMPORT INT | openClient (XFcSocket &aSocket, XFcAsyncCallBack *aCallBack) |
Opens connection to client (listening mode). Connection open is a asynchronous. | |
XFCIMPORT void | acceptConnection (INT aEnable) |
Accepts this connection. | |
XFCIMPORT void | closeClient () |
Close client connection. | |
virtual XFCIMPORT INT32 | incoming (XFcObjectPacketBase &mRecvBuffer) |
Receives packet buffer from server. | |
virtual XFCIMPORT INT32 | outgoing (XFcObjectPacketBase &mSendBuffer) |
Sends packet to server. | |
virtual XFCIMPORT XFcObjectDataFrame * | getPacketFrame (INT aSlot) |
Gets packet frame for sendable data. | |
virtual XFCIMPORT XFcObjectDataFrame * | getRecentStateFrame (INT32 aRecentId) |
Gets recent state frame for sendable data. | |
virtual XFCIMPORT void | removeRecentStateFrame (INT32 aRecentId) |
Removes recent state frame. | |
virtual XFCIMPORT void | setAddress (const XFcAddress &aAddress) |
Sets address. | |
virtual XFCIMPORT INT | isClientActive () |
Gets client status. | |
virtual XFCIMPORT INT | testAddress (const XFcAddress &aAddress) |
Tests address. | |
virtual XFCIMPORT INT | bandwidthCheck () |
Checks if we are able to send any data. | |
virtual XFCIMPORT void | initializeClient () |
Runtime initialize. | |
virtual XFCIMPORT void | deinitializeClient () |
Runtime deinitialize. | |
Static Public Member Functions | |
XFCIMPORT XFcBtClientWin * | create (const XFcAddress *aAddress, INT32 aGranularity=XFCNET_QUEUE_BUFFER_COUNT, INT32 aBufferMaxSize=XFCNET_QUEUE_BUFFER_SIZE) |
Static constructor. | |
Protected Member Functions | |
XFCIMPORT INT | init (const XFcAddress *aAddress, INT32 aGranularity, INT32 aBufferMaxSize) |
Initializes XFcBtClientWin. | |
XFCIMPORT | XFcBtClientWin () |
Protected constructor. | |
virtual XFCIMPORT void | actionFailed (INT32 aStatus=0) |
Bt action failed. | |
virtual XFCIMPORT void | actionReady (INT32 aStatus=0) |
Bt action ready. | |
virtual XFCIMPORT void | actionCancel (INT32 aStatus=0) |
Bt action canceled. | |
virtual XFCIMPORT void | actionReceive (const CHAR8 *, INT32) |
Not needed. | |
virtual XFCIMPORT void | actionSend (INT32) |
Not needed. | |
Private Attributes | |
XFcRFCOMMSocket * | mSocket |
Holds communication socket. | |
XFcObjectDataQueue * | mPriorityQueue |
Object data priority queue. | |
XFcPacketCreator * | mPacketCreator |
Current packet creator. | |
INT | mLineStatus |
Holds client ativity status. |
XFcBtClientWin is used to hide connected RFCOMM socket behavior to work as connectionless socket. It can be created to listen or to connection mode. If it's created to connection mode it will try to make connection to a "server" device. In listen mode it starts to wait if someone binds connection to it.
|
Protected constructor.
|
|
Virtual destructor.
|
|
Accepts this connection.
|
|
Bt action canceled.
Implements XFcAsyncCallBack. |
|
Bt action failed.
Implements XFcAsyncCallBack. |
|
Bt action ready.
Implements XFcAsyncCallBack. |
|
Not needed.
Implements XFcAsyncCallBack. |
|
Not needed.
Implements XFcAsyncCallBack. |
|
Checks if we are able to send any data.
Implements XFcClientCommWin. |
|
Close client connection.
|
|
Static constructor.
|
|
Runtime deinitialize.
Reimplemented from XFcClientCommWin. |
|
Gets packet frame for sendable data.
Implements XFcClientCommWin. |
|
Gets recent state frame for sendable data.
Implements XFcClientCommWin. |
|
Receives packet buffer from server.
Implements XFcClientCommWin. |
|
Initializes XFcBtClientWin.
|
|
Runtime initialize.
|
|
Gets client status.
Implements XFcClientCommWin. |
|
Opens connection to client (listening mode). Connection open is a asynchronous.
|
|
Opens client connection to address given by create. Connection open is a asynchronous.
|
|
Sends packet to server.
Implements XFcClientCommWin. |
|
Removes recent state frame.
Implements XFcClientCommWin. |
|
Sets address.
Implements XFcClientCommWin. |
|
Tests address.
Implements XFcClientCommWin. |
|
Holds client ativity status.
|
|
Current packet creator.
|
|
Object data priority queue.
|
|
Holds communication socket.
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |